// export const BASE_URL = 'https://192.168.150.1:8085';
export const BASE_URL = 'https://www.metamirror.cn:8085';
// 路径
// export const BASE_IMAGE_URL = 'https://172.20.10.2:8085';
export const BASE_IMAGE_URL = 'https://www.metamirror.cn:8085';

export function GET_USER_INFO() {
	return new Promise((resolve, reject) => {
		var userInfo = {};
		uni.getStorage({
			key: 'app_user_info'
		}).then(response => {
			userInfo = JSON.parse(response.data);
			console.log(userInfo, '干红聚类')
			resolve(userInfo);
		}).catch((err) => {
			resolve({
				error: err
			});
		})
	})
}

export default {
	BASE_URL,
	BASE_IMAGE_URL,
	GET_USER_INFO
}